<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>edit</title>
</head>
<body>
    <div>
        <h3>编辑演员</h3>
        <form th:action="@{/update.do}" method="post" th:object="${actor}">
            <table border="1" cellspacing="0" cellpadding="0">
                <input type="hidden" name="id" th:value="*{id}">
                <tr>
                    <td>名称：</td>
                    <td><input type="text" name="name" th:value="*{name}"></td>
                </tr>
                <tr>
                    <td>性别:</td>
                    <td><input type="text" name="sex" th:value="*{sex}"></td>
                </tr>
                <tr>
                    <td>电话:</td>
                    <td><input type="text" name="phone" th:value="*{phone}"></td>
                </tr>
                <tr aria-colspan="2">
                    <td><input type="submit" value="修改"></td>
                </tr>
            </table>
        </form>
    </div>

</body>
</html>